import store from './index.js'
 
store.registerModule('product', {
    namespaced: true,
    state: {
        name: ''
    },
    mutations: {
        select_param(state, payload){
            state.name = payload
        }
    },
    actions: {
        revise_shopnum(store, payload) {
            store.commit('set_shopnum', payload)
        },
        revise_shopbooks(store, payload) {
            store.commit('set_shopbooks', payload)
        }
    }
})